namespace EyeOpen.Build
{
	public class CopyTaskConfigurer 
		: ITaskConfigurer<ICopyTask>
	{
		private readonly string sourcePath;
		private readonly string overwritePath;

		public CopyTaskConfigurer(string sourcePath, string overwritePath)
		{
			this.sourcePath = sourcePath;
			this.overwritePath = overwritePath;
		}

		public void Configure(ICopyTask task)
		{
			task.SourcePath = sourcePath;
			task.OverwritePath = overwritePath;
		}
	}
}